
/**
 * AppleIIGo
 * Internal IWM class
 * (C) 2007-2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#include "InternalIWM.h"

char * internalIWMDriveList[] = {
	"Apple525DiskDrive",
	"Apple525DiskDrive",
	0,
};

InternalIWM::InternalIWM(Motherboard * motherboard,
							   char * slotDeviceName) :
IWM(motherboard, slotDeviceName) {
	connectDrives(internalIWMDriveList);
}

void InternalIWM::onDevicesConnected() {
	IWM::onDevicesConnected();
	mmu = motherboard->getMmu();
}

UINT8 InternalIWM::readMemory(UINT16 address) {
	return mmu->readMemoryDirect(address);
}
